<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:a4j="http://richfaces.org/a4j"
	xmlns:rich="http://richfaces.org/rich">

<body>
	<ui:composition template="templates/template.xhtml">

		<ui:define name="title">Projects List</ui:define>

		<ui:define name="body">
			<h:form prependId="false">
				<rich:dataTable value="#{projectBean.projectsList}" var="project">
					<f:facet name="header">
						<h:outputText value="Projects List" />
					</f:facet>
					<rich:column>
						<f:facet name="header">Id</f:facet>
						<h:outputText value="#{project.id}" />
					</rich:column>
					<rich:column>
						<f:facet name="header">Name</f:facet>
						<h:outputText value="#{project.name}" />
					</rich:column>
					<rich:column>
						<f:facet name="header">Description</f:facet>
						<h:outputText value="#{project.description}" />
					</rich:column>
				</rich:dataTable>
			</h:form>
		</ui:define>
	</ui:composition>
</body>
</html>